package org.hxyjs.dao;


import org.hxyjs.entity.News;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface NewsDao {
    public List<News>  getAllNewss() throws Exception;
    Integer deleteNewsByNno(String nno) throws Exception;
    Integer updateNewsByNno(News news) throws Exception;
    Integer addNews(News news) throws Exception;
    public List<News>  getNewsByPage(PageInfo pageInfo) throws Exception;
    public News  selectNewsWithCarouselmap(String nno) throws Exception;
}
